/* Navbar */
body {
  font-family: Arial, sans-serif;
  background-color: #000; /* Black background */
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between; /* Ensure elements are spaced evenly */
  background-color: #000; /* Black background */
  height: 80px;  
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1); /* Optional shadow for navbar */
 
}

.nav-icon {
  width: 30px;
  height: 30px;
  vertical-align:middle;
}

.logo {
  max-width: 200px; /* Adjust size */
  height: auto;     /* Maintain aspect ratio */
}

.menu a{
  color: white;
  margin-right: 30px;
  text-decoration: none;
}
.menu a:hover {
  color: #f00;
}

.menu{
  margin-top: 20px;
  font-family: Arial, sans-serif;
}

.login-btn {
  background-color: #d4001a; /* Red button */
  color: white;
  padding: 8px; /* Flexible padding */
  border-radius: 8px;
  margin-left: 10px;
}

/* Form Section */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins",sans-serif;
}


body {
  align-items: center;
  min-height: 100vh;
  background:url(../media/contact.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
.wrapper {
  width: 420px;
  background: transparent;
  border: 2px solid rgba(255,255,255,.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  color: rgb(240, 243, 245);
  border-radius: 10px;
  padding: 30px 40px;
  float: left;
  margin-top: 15px;
  margin-left: 400px;
}
.wrapper h1 {
  font-size: 36px;
  text-align: center;
  color: white ;
}
.form-group {
  margin-bottom: 15px;
  color: white;
  margin-top: 20px;
}
.form-group1{
  color: white;
}

label {
  font-weight: bold;
  color: white;
}

input[type="text"],
input[type="date"],
input[type="time"],
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  margin: 15px;
  margin-left: 5px;
}

.wrapper .btn {
  width: 100%;
  height: 45px;
  background: fixed;
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  cursor: pointer;
  font-size: 16px;
  color:white ;
  font-weight: 600;
  background-color: black ;   
  color: white ;
}
.btn:hover {
  background-color: rgb(203, 41, 41);
}




/* Responsive Contact Form Fix */

/* Tablet */
@media screen and (max-width: 1024px) {
  .wrapper {
    width: 45%;           /* Make the form wider for smaller screens */
    margin-left: auto;    /* Center horizontally */
    margin-right: auto;
    float: none;          /* Remove float */
  }
}

/* Mobile */
@media screen and (max-width: 600px) {
  .wrapper {
    width: 90%;           /* Full width on mobile */
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    float: none;
    padding: 20px;        /* Slightly reduce padding */
  }

  .wrapper h1 {
    font-size: 28px;      /* Smaller heading */
  }

  input[type="text"],
  input[type="date"],
  input[type="time"],
  select {
    font-size: 14px;      /* Slightly smaller input text */
    margin: 10px 0;
  }

  .wrapper .btn {
    font-size: 14px;
    height: 40px;
  }
}



/* === Responsive Hamburger Menu for Mobile & Tablet === */

.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  margin-top: 25px;
  margin-right: 20px;
}

/* Hide the checkbox */
.nav-toggle {
  display: none;
}

/* Tablet + Mobile */
@media (max-width: 1024px) {
  /* Hide menu initially */
  .menu {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: black;
    width: 220px;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #444;
    z-index: 999;
  }

  .menu a {
    display: block;
    margin: 12px 0;
    text-align: center;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Show menu when checkbox is checked */
  .nav-toggle:checked ~ .menu {
    display: flex;
  }
}
